/*
 * Request.java
 *
 * Created on April 28, 2007, 7:05 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package info.javatech.jmf.server.protocol;

/**
 *
 * @author afedotov
 */
public class PRequest {
    /**
     *The list of components in the request to server.
     */
    private PComponent[] components;
    /**
     * Contains submitted viewId
     *
     */
    private String viewId;
    /**
     *Contains session id or null (if the new session requested.
     */
    private String sessionId;
    
    private String viewState;
    
    /**
     * Stores event that rises the request
     */
    private PEvent event;

    public PComponent[] getComponents() {
        return components;
    }

    public void setComponents(PComponent[] components) {
        this.components = components;
    }

    public String getViewId() {
        return viewId;
    }

    public void setViewId(String viewId) {
        this.viewId = viewId;
    }

    public String getSessionId() {
        return sessionId;
    }

    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    public PEvent getEvent() {
        return event;
    }

    public void setEvent(PEvent event) {
        this.event = event;
    }

    public String getViewState() {
        return viewState;
    }

    public void setViewState(String viewState) {
        this.viewState = viewState;
    }
}
